package com.wwf.fegin;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author wwf
 * @date 2021年02月08日 17:19:40
 */
@FeignClient(name = "my-service-email",path = "/email")
public interface IEmailService {
    @RequestMapping("/{email}/{code}")
    public String email(@PathVariable("email") String email, @PathVariable("code") String code);
}
